package com.major.bean;

import org.springframework.stereotype.Component;

@Component
public class Address {
    private String addressInfo = "hunan";

    @Override
    public String toString() {
        return "Address{" +
                "addressInfo='" + addressInfo + '\'' +
                '}';
    }

    public String getAddressInfo() {
        return addressInfo;
    }

    public void setAddressInfo(String addressInfo) {
        this.addressInfo = addressInfo;
    }

    public Address(String addressInfo) {
        this.addressInfo = addressInfo;
    }

    public Address() {
    }
}
